﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LimpaGaragem.BLL.Generic
{
    public class State
    {
        /// <summary>
        /// Return list of state
        /// </summary>
        /// <returns></returns>
        public List<LimpaGaragem.Model.Generic.State> GetListOfState()
        {
            try
            {
                return new LimpaGaragem.DAO.Generic.State().GetListOfState();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        /// <summary>
        /// Return data of state
        /// </summary>
        /// <returns></returns>
        public LimpaGaragem.Model.Generic.State GetState(int IDState)
        {
            try
            {
                return new LimpaGaragem.DAO.Generic.State().GetState(IDState);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
